<div class='panel'>
<h1><?php echo lang('change_password');?></h1>
<?php
if(isset($message))
{ ?>
        <div class="alert alert-error">
          <a class="close" data-dismiss="alert" href="#">×</a>
          <p><?php echo $message;?></p>
        </div>
<?php } ?>
<?php echo form_open('auth/reset_password/' . $code);?>
      
      <p><?php echo sprintf(lang('new_password_text'), $min_password_length);?>:<br />
      <?php echo form_input($new_password);?>
      </p>
      
      <p><?php echo lang('confirm_new_password');?>:<br />
      <?php echo form_input($new_password_confirm);?>
      </p>
      
      <?php echo form_input($user_id);?>
      <?php echo form_hidden($csrf); ?>
      <button type="submit" class="btn btn-primary"><?php echo lang('change');?></button>
      
<?php echo form_close();?>
</div>